
package com.zcsy.manage.web.quartz;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;

import com.zcsy.manage.service.mall.IOrderInfoService;

/**
 * @Title: ComfirmReceiveGoodsQuartzTask.java
 * @Package： com.zcsy.manage.web.quartz 
 * @Description: 确认收货定时任务
 * @author huangls 1449700087@qq.com
 * @date 2016年8月29日
 * @version 1.0
 * @see JDK1.7.0_75
 * @Copyright: 2016 武汉恒数利通技术有限公司 All rights reserved.
 */
public class ComfirmReceiveGoodsQuartzTask {
	
	@Autowired
    private IOrderInfoService orderInfoService;
    
    private Logger logger = Logger.getLogger(ComfirmReceiveGoodsQuartzTask.class);
    
    public void run(){
        try {
        	orderInfoService.updateStateBeenSenddAll();
        } catch (Exception e) {
            e.printStackTrace();
            logger.info("ComfirmReceiveGoodsQuartzTask error: " + e.getMessage());
        }
    }

}
